package com.akw.boot3.rpc.service;

import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;

public interface WeatherInterface {

    @GetExchange(value = "/area-to-weather-date", accept = "application/json")
    String getWeather(@RequestParam("area") String city, @RequestHeader("Authorization") String auth);
}
